package cn.demoncat.util.kuaidi100.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 快递100配置
 *
 * @author 延晓磊
 * @since 2021年04月06日
 */
@Data
@Component
@ConfigurationProperties(prefix = "kuaidi100")
public class Kuaidi100Properties {

    // 环境：false测试,true生产
    private Boolean status = false;
    // 授权信息：https://poll.kuaidi100.com/manager/page/myinfo/enterprise
    private String key;
    private String customer;
    private String secret;
    private String userid;
    // 回调地址：/xxx/{id}
    private String trackCallbackUrl;
    private String mapTrackCallbackUrl;

}
